home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
C for beginners.adf
/
source
/
scan1.c
< prev
next >
Wrap
C/C++ Source or Header
|
1978-01-17
|
218b
|
12 lines
/* scan1.c section 4.5 */
void main()
{
int input;
printf ("Are you well?\n");
printf ("(1) = YES (2) = NO\n");
printf ("Number: ");
scanf ("%d",&input);
printf ("\n\nYour input was %d\n",input);
}